package com.zjlp.seproject.service;

import com.zjlp.seproject.pojo.User;

import java.util.List;

public interface UserService {
    List<User> selectAll();

    int deleteByPrimaryKey(Integer id);

    int insert(User record);

    User selectByPrimaryKey(Integer id);

    int updateByPrimaryKey(User record);

    User login(User user);

    Integer register(User user);

    Integer avatar(User user);

    User admin(Integer id);
}
